package org.eclipse.moquette.spi.impl.security;

/**
 * ACL checker
 * Created by xuwei on 2015/6/6.
 */
public interface IAuthorizator {

    /**
     * Ask the implementation of the authorizator if the topic can be used in a publish.
     * @param topic
     * @return
     */
    boolean canWrite(String topic);
}
